home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 986 b | 29 lines | [TEXT/GEOL] |
- Item 4236255 21-Nov-88 18:01
-
- From: WETMORE1 Wetmore, Russ
-
- To: D1220 VarLite, Dev, Andy Meldrum
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: Persistent Objects
-
- Andy -
-
- You could use the same type of convention we used for reading/writing ‘view
- resources (which are essentially persistent objects.) In your base class, you
- can define abstract methods for reading and writing out a particular object’s
- data. Then, in the implementation of the methods at each class level, you can
- call the INHERITED read/write method to handle all of the superclass’ data, and
- then read/write your own.
-
- At some higher level (perhaps an EventHandler method, as we implemented
- DoCreateViews) you can parse the particular objects (resources, perhaps?) and
- call the proper base read/write methods to do the actual work.
-
- Examine IRes and WRes to see what I mean.
- [ Russ ]
-
-
-
-